package org.ghost.wechat.platform.dto.wechat.material;

import com.fasterxml.jackson.annotation.JsonProperty;
import org.ghost.wechat.platform.dto.WeChatErrorRspDTO;

/**
 * @author 01
 */
public class WeChatAddNewsRspDTO extends WeChatErrorRspDTO {
    private static final long serialVersionUID = -4203729255512268600L;

    private String mediaId;

    public String getMediaId() {
        return mediaId;
    }

    @JsonProperty(value = "media_id")
    public void setMediaId(String mediaId) {
        this.mediaId = mediaId;
    }

    @Override
    public String toString() {
        return "WeChatAddNewsRspDTO{" +
                "mediaId='" + mediaId + '\'' +
                ", errCode=" + errCode +
                ", errMsg='" + errMsg + '\'' +
                '}';
    }
}
